package com.cdsf.kennedy.user.service;

import com.cdsf.common.util.Page;
import com.cdsf.kennedy.user.domain.Role;

import java.util.List;

/**
 * @Author: kennedy
 * @Date: Created in 15:45 2018/2/6
 */
public interface RoleService {
    void insert(Role role);

    Role selectOne(Role role);

    List<Role> getAll(Role role, Page page);

    void delete(String uuid);

    Role selectByPrimaryKey(String uuid);

    void updateByPrimaryKey(Role role);
}
